package com.aaa.mapper;

import com.aaa.entity.Orderform;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderformMapper extends BaseMapper<Orderform> {

    List<Orderform> Oselect(String username);

    int Oadd(Orderform orderform);

    //删除
    int Odel(Integer orderid);

    //收货
    int Ostate(Integer orderid);

    //付款
    int payOrder(Integer orderid);

}
